package com.woniuxy.cloud.param;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author 周川雄
 * @date 2022/2/18 21:56
 */
@Data
public class initiationAreaParam {
    @NotNull(message = "区域不能为空")
    private Integer areaId;
    @Max(value = 1, message = "请输入1或者0,1开启权限,0关闭权限")
    @Min(value = 0, message = "请输入1或者0，1开启权限,0关闭权限")
    private Integer status;
}
